I'm wiring in some optical encoders to my Kflop/Kanalog board. Figured I would attach to input A5+ and B5+ on JP2
http://www.potentiometers.com/pdf/600.pdfThat is a link to the data sheet for the encoder.
So basicly connecting the unit to 5v power and the Yellow to channel A5+ and green to channel B5+
From that on the bits 38 and 39 toggel when I rotate the encoder on the I/O screen
Seems to be all ok. Altered the C code so the IO bits are correct, trigger the bits to activate the encoder and can get some movement but most times it would continue counting and fault out (yellow digits in KmotionCNC) for that axis..
Wondering if perhaps I need to add a resistor between A5+ and A5- and B5+ and B5- to properly connect the encoder or something else.
Perhaps just doing this wrong seeing they are not differential (have only
A and B output rather then A+A-andB+B-
b.
b.